Skip to content

Conversation

@eranco74
Copy link
Contributor

@eranco74 eranco74 commented Jan 6, 2021

Adding bootstrap-in-place functionality

Add a new entrypoint --bootstrap-in-place which enrich the master
Ignition with control plane static pods manifests and all required
resources, including the etcd database.

cluster-bootstrap normally waits for a list of required pods to be
ready. These pods are expected to start running on the control plane
nodes when the bootstrap and control plane run in parallel. That is
not possible when bootstrapping in place, so when cluster-bootstrap
runs with the --bootstrap-in-place option it should only apply the
manifests and then tear down the control plane.

If cluster-bootstrap fails to apply some of the manifests, it should
return an error.

@eranco74 eranco74 force-pushed the bootstrap-in-place-go-mod branch 5 times, most recently from 368e466 to b7f9fea Compare January 7, 2021 10:26
@eranco74
Copy link
Contributor Author

eranco74 commented Jan 7, 2021

/retest

@tsorya
Copy link
Contributor

tsorya commented Jan 7, 2021

/test e2e-aws

@tsorya
Copy link
Contributor

tsorya commented Jan 7, 2021

/test e2e-upgrade

4 similar comments
@tsorya
Copy link
Contributor

tsorya commented Jan 7, 2021

/test e2e-upgrade

@tsorya
Copy link
Contributor

tsorya commented Jan 7, 2021

/test e2e-upgrade

@tsorya
Copy link
Contributor

tsorya commented Jan 7, 2021

/test e2e-upgrade

@tsorya
Copy link
Contributor

tsorya commented Jan 7, 2021

/test e2e-upgrade

@sttts
Copy link
Contributor

sttts commented Jan 8, 2021

/retest

@romfreiman
Copy link

Ship it :)

@eranco74 eranco74 changed the title Bootstrap in place go mod Single Node deployment with bootstrap-in-place Jan 14, 2021
@eranco74 eranco74 force-pushed the bootstrap-in-place-go-mod branch from b7f9fea to c285d5f Compare January 14, 2021 12:55
@eranco74
Copy link
Contributor Author

/test e2e-aws

@eranco74 eranco74 force-pushed the bootstrap-in-place-go-mod branch from c285d5f to f03175b Compare January 21, 2021 10:43

return false, nil
}, apiContext.Done())
if err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these changes should be squashed into first commit

@sttts
Copy link
Contributor

sttts commented Jan 21, 2021

/hold

until master reopen for 4.8.

/approve
LGTM up to the squashing.

@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jan 21, 2021
tsorya and others added 5 commits January 21, 2021 16:00
in case required-pods="" (this is the case when running bootstrap-in-place) cluster-bootstrap may fail to publish an event in case kube-apiserver isn't up yet.
This should solve the problem by ensuring the kube-apiserver is available
This means that we fail to create some manifests
Use fcct for creating the master ignition

Signed-off-by: Eran Cohen <eran@stratoscale.com>
@eranco74 eranco74 force-pushed the bootstrap-in-place-go-mod branch from f03175b to cf4ffde Compare January 21, 2021 14:00
@eranco74
Copy link
Contributor Author

/test e2e-upgrade

1 similar comment
@eranco74
Copy link
Contributor Author

/test e2e-upgrade

@romfreiman
Copy link

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 5, 2021
@romfreiman
Copy link

/retest

@sttts
Copy link
Contributor

sttts commented Feb 5, 2021

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 5, 2021
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eranco74, sttts

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 516f2cf into openshift:master Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants